package cn.signalpha.modules.base.entity;

import cn.signalpha.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@TableName("base_banner")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Banner对象", description = "banner")
public class Banner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "封面图")
    private String img;

	@ApiModelProperty(value = "类型：1首页banner")
	private Integer type;

    @ApiModelProperty(value = "导向目标")
    private String target;

    @ApiModelProperty(value = "导向类型")
    private Integer targetType;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

}
